package com.entity;


import lombok.Data;

@Data
public class BookVo {


    private Integer id;

    private String bookname;

    private String isbn;

    private String author;

    private Integer surplus;

    private String publish;

    private Integer page;
    private Integer limit;

    private Integer pageStart;

    public void setPageStart(int page, int limit) {
        pageStart = (this.page - 1) * this.limit;
    }

    //写出所有构造函数


}
